package com.study.model;

import java.util.List;
/**
 * jqgrid  返回Json 模型
 * @author figure Jan 7, 2013
 *
 */
public class JqGridModel {
	/**
	 * 当前页码 从1开始
	 */
	private Integer page;
	/**
	 * 总页码数
	 */
	private Integer total;
	/**
	 * 总数据行数
	 */
	private Integer records;
	/**
	 * 各行数据
	 */
	private List rows;
	
	public JqGridModel(){
		
	}
	
	public JqGridModel(Integer page, Integer total, Integer records,
			List rows) {
		super();
		this.page = page;
		this.total = total;
		this.records = records;
		this.rows = rows;
	}
	public Integer getPage() {
		return page;
	}
	public void setPage(Integer page) {
		this.page = page;
	}
	public Integer getTotal() {
		return total;
	}
	public void setTotal(Integer total) {
		this.total = total;
	}
	public Integer getRecords() {
		return records;
	}
	public void setRecords(Integer records) {
		this.records = records;
	}
	public List<Object> getRows() {
		return rows;
	}
	public void setRows(List rows) {
		this.rows = rows;
	}
	
}
